/*
 * @Author: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @Date: 2023-11-14 14:05:23
 * @LastEditors: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @LastEditTime: 2023-11-16 10:33:51
 * @FilePath: \ZHGD-Vue2\src\api\xtcsgl\omnipotentRequires.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/utils/request'

// 查询万能机技术要求列表
export function listOmnipotentRequires(query) {
  return request({
    url: '/zhgd/omnipotentRequires/list',
    method: 'get',
    params: query
  })
}

// 查询万能机技术要求详细
export function getOmnipotentRequires(id) {
  return request({
    url: '/zhgd/omnipotentRequires/' + id,
    method: 'get'
  })
}

// 新增万能机技术要求
export function addOmnipotentRequires(data) {
  return request({
    url: '/zhgd/omnipotentRequires',
    method: 'post',
    data: data
  })
}

// 修改万能机技术要求
export function updateOmnipotentRequires(data) {
  return request({
    url: '/zhgd/omnipotentRequires',
    method: 'put',
    data: data
  })
}

// 删除万能机技术要求
export function delOmnipotentRequires(id) {
  return request({
    url: '/zhgd/omnipotentRequires/' + id,
    method: 'delete'
  })
}



// 万能机校验
export function verifyEligible(query) {
  return request({
    url: '/zhgd/laboratoryMechanicsWGroup/verifyEligiblesyn',
    method: 'get',
    params: query
  })
}
